package com.house.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("house")
public class House extends CommonField implements Serializable {
    @TableId
    private String houseId;
    private String userId;
    private String houseTitle;
    private String address;
    private String addressName;
    private String longitude;
    private String latitude;
    private String fitmentState;
    private float area;
    private int lentMoney;
    private int waterMoney;
    private int electricityMoney;
    private String houseType;
    private String floorLevel;
    private String orientation;
    private String equipments;
    private String headImage;
    private String introduce;
    private Date era;
    private int sell;
    private int states;
    private String rentType;

    @TableField(exist = false)
    private String userName;

}
